<template>
  <div id="out">
    <section class="searchInput row justify-content-center">
      <div class="col-lg-7">
        <SearchInput></SearchInput>
      </div>
    </section>

    <section id="blogBBSList" class="row py-3">
      <aside class="col-lg-9">
        <div class="row">
          <div
            v-for="(p, index) in 6"
            :key="index"
            id="blogBBSCard"
            class="col-lg-12 col-md-6 mt-3"
          >
            <a href="javascript:;">
              <div class="continue">
                <div class="row rounded">
                  <div
                    class="blogBBSCard-info col-lg-12 rounded-bottom text-left py-3"
                  >
                    <div class="blogBBSCard-title">
                      Lorem ipsum dolor sit amet consectetur adipisicing elit.
                      Modi, laborum?
                    </div>
                    <h5 class="blogBBSCard-tap">
                      <span>相关标签 </span>
                      <span class="btn hotBBSTap">中医</span>
                    </h5>
                    <span class="blogBBSCard-content">
                      Lorem ipsum dolor sit amet consectetur adipisicing elit.
                      Voluptatem laborum cupiditate est accusamus tempore
                      suscipit minima voluptates inventore et vitae, sit atque,
                      quo perspiciatis impedit, eligendi quidem assumenda eum
                    </span>
                  </div>
                </div>
              </div>
            </a>
          </div>
        </div>
        <PageChange></PageChange>
      </aside>
      <aside class="col-lg-3">
        <div id="relatedSearch" class="sidebar-div mt-5">
          <!-- Title -->
          <h5 class="mb-2 text-center" style="color: #444444">相 关 讨 论</h5>

          <ul class="popular-posts">
            <!-- Popular post #1 -->
            <li
              v-for="(p, index) in 6"
              :key="index"
              class="row clearfix d-flex align-items-center"
            >
              <!-- Image -->
              <img
                class="col-5"
                src="../../assets/img/22.jpg"
                alt="blog-post-preview"
              />

              <!-- Text -->
              <div class="post-summary col-7">
                <p href="javascript:;" class="bookName rose-hover">
                  Lorem ipsum dolor sit amet consectetur adipisicing elit.
                  Nesciunt, explicabo.
                </p>
                <p class="bookContent">
                  Lorem ipsum, dolor sit amet consectetur adipisicing elit.
                  Expedita, sint?
                </p>
              </div>
            </li>
          </ul>
        </div>
      </aside>
    </section>
  </div>
</template>

<script>
import PageChange from "../../components/PageChange.vue";
import SearchInput from "../../components/SearchInput.vue";
export default {
  data() {
    return {};
  },
  created() {},
  mounted() {},
  methods: {},
  components: {
    PageChange,
    SearchInput,
  },
};
</script>

<style scoped>
#out {
  padding: 0 8%;
}
.searchInput {
  margin-top: 120px;
}
#blogBBSList {
  margin-top: 30px;
  padding: 0 5%;
  border-top: 1px solid #6159e6;
}
#blogBBSCard {
  /* border-radius: 10px; */
  padding: 5px;
  transition: all 0.5s ease-in-out;
}
#blogBBSCard:nth-child(n + 2) {
  border-top: 1px dashed #6159e6;
}
/* #blogBBSCard .blogBBSCard-image {
  padding-right: 0;
}
#blogBBSCard .blogBBSCard-image img {
  display: inline-block;
  margin: 0 auto;
  width: 100%;
} */
#blogBBSCard .blogBBSCard-tap {
  margin-top: 10px;
}
#blogBBSCard .blogBBSCard-tap span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #222;
  border: none;
  background-color: #f0f0f0;
  border-radius: 6px;
  padding: 5px 10px;
  margin-left: 2px;
  transition: all 450ms ease-in-out;
  box-shadow: none;
}
#blogBBSCard .blogBBSCard-title {
  font-size: 22px;
  line-height: 25px;
  font-weight: 700;
  color: #444;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#blogBBSCard .blogBBSCard-content {
  margin-top: 8px;
  font-size: 18px;
  color: #7e828a;
  font-weight: 500;
  line-height: 1.618;

  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

#relatedSearch img {
  display: inline-block;
  width: 50%;
  /* border-radius: 10px; */
}
#relatedSearch .post-summary {
  padding: 0;
}
#relatedSearch .popular-posts li {
  margin-bottom: 5px;
}
#relatedSearch .bookName {
  padding: 0;
  margin: 10px 0 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#relatedSearch .bookContent {
  color: #747f9b;
  line-height: 1.2;

  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
</style>
